package com.gcd.gym.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gcd.gym.model.Reserve;
import com.gcd.gym.model.searchModel.ReserveSearchModel;
import org.apache.ibatis.annotations.*;

@Mapper
public interface ReserveMapper extends BaseMapper<Reserve> {

    Page<ReserveSearchModel> findReserve(Page<ReserveSearchModel> page, ReserveSearchModel reserve);


    int deleteReserveById(Integer id);

    int editReservice(Reserve reserve);

}
